<div class="blade-content ng-scope" id="blade-content">
  <div class="blade-inner">
    <div class="inner-block">
      <form name="form" class="form" (submit)="onCreate()" [formGroup]="formGroup" novalidate> 
        <div class="blade-static __bottom" *ngIf="currentBlade.isNew">
          <button class="btn" type="submit" [disabled]="!formGroup.valid">创建</button>
        </div>
        <div class="form-group">
          <label class="form-label">参数名称</label>
          <div class="form-input">
            <input id="paramName" name="paramName"  type="text"  placeholder="输入参数名称" autocomplete="off" formControlName="paramName">
          </div>
          <div *ngIf="formErrors.paramName" class="form-error">
            {{ formErrors.paramName }}
          </div>

        </div>
        <div class="form-group">
          <label class="form-label">参数值</label>
          <div class="form-input">
              <textarea id="paramValue" name="paramValue" placeholder="输入参数描述" class="form-control" formControlName="paramValue" rows="4" cols="25"></textarea>
            <!-- <textarea rows="4" cols="25" id="paramValue" name="paramValue"  type="text"  placeholder="输入参数值" autocomplete="off" formControlName="paramValue"> -->
          </div>
          <div *ngIf="formErrors.paramValue" class="form-error">
            {{ formErrors.paramValue }}
          </div>

        </div>

        <div class="form-group">
          <label class="form-label">参数描述</label>
          <div class="form-input">
              <textarea id="paramDesc" name="paramDesc" placeholder="输入参数描述" class="form-control" formControlName="paramDesc" rows="4" cols="25"></textarea>
              
            <!-- <textarea rows="4" cols="25" id="paramDesc" name="paramDesc"  type="text"  placeholder="输入参数描述" autocomplete="off" formControlName="paramDesc"> -->
          </div>
          <div *ngIf="formErrors.paramDesc" class="form-error">
            {{ formErrors.paramDesc }}
          </div>

        </div>
      </form>
    </div>
  </div>
</div>